package com.payvar.flutter_bluetooth_plugin;

import android.bluetooth.BluetoothDevice;

import java.util.Objects;

public class BlueBean {
    private String address;
    private  String name;
    private  int rssi;
      private BluetoothDevice device;

    public BlueBean(String address, String name,int rssi) {
        this.address = address;
        this.name = name;
        this.rssi=rssi;
    }

    public BlueBean() {
    }


    public BluetoothDevice getDevice() {
        return device;
    }

    public void setDevice(BluetoothDevice device) {
        this.device = device;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getRssi() {
        return rssi;
    }

    public void setRssi(int rssi) {
        this.rssi = rssi;
    }

    @Override
    public String toString() {
        return "BlueBean{" +
                "address='" + address + '\'' +
                ", name='" + name + '\'' +
                ", rssi=" + rssi +
                '}';
    }

}
